package io.github.flypiggy.stack.operate.log.spring.boot.starter.properties;

import org.springframework.http.HttpMethod;

import java.util.Map;


/**
 * The type to be assigned.
 */
public class Exclude {

    /**
     * Apis to be excluded.
     * format {k: get v: /xxx/xxx/xx}
     */
    private Map<HttpMethod, String[]> api;

    /**
     * Request method.
     */
    private HttpMethod[] httpMethod;

    /**
     * packages.
     */
    private String[] packages;

    /**
     * Full path classes.
     */
    private String[] classes;

    /**
     * Full path methods.
     */
    private String[] methods;

    public Map<HttpMethod, String[]> getApi() {
        return api;
    }

    public void setApi(Map<HttpMethod, String[]> api) {
        this.api = api;
    }

    public HttpMethod[] getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(HttpMethod[] httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String[] getPackages() {
        return packages;
    }

    public void setPackages(String[] packages) {
        this.packages = packages;
    }

    public String[] getClasses() {
        return classes;
    }

    public void setClasses(String[] classes) {
        this.classes = classes;
    }

    public String[] getMethods() {
        return methods;
    }

    public void setMethods(String[] methods) {
        this.methods = methods;
    }
}
